﻿#include <QFile>
#include "CLogWidget.h"
#include "Public.h"
#include "CLogOper.h"
#include "CGlobal.h"

CLogWidget::CLogWidget(QString sPointName,QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	m_pLogWidget = CLogOper::instance().createLogWidget("");
	ui.gridLayout->addWidget(m_pLogWidget);
}

CLogWidget::~CLogWidget()
{
	CLogOper::instance().destroyLogWidget(m_pLogWidget);
}

void CLogWidget::refreshData(bool bRefresh)
{

}
